apiready = function() {

	var group_id = api.pageParam.groupid;
	
	var header = $api.byId('header');
    $api.fixStatusBar(header);
	
	// status bar style
    api.setStatusBarStyle({
        style: 'light'
    });

	// show main
	var width = api.winWidth;
    var headerPos = $api.offset(header);
    var height = api.winHeight - headerPos.h;
    
    api.openFrame({
        name: 'actDetail-con',
        url: 'actDetail-con.html',
        rect: {
            x: 0,
            y: headerPos.h,
            w: width,
            h: height
        },
        bounces: true,
        opaque: true,
        vScrollBarEnabled: false,
        pageParam: {groupid: group_id}
    });
};
